<html>
 
<title>Create New Building</title>

<body>
	<h2>Create New Building</h2>
	<g:if test="${flash.notice}">
		${flash.notice}
	</g:if>
	<g:if test="${flash.error}">
		${flash.error}
	</g:if>
	<form name="buildingForm" action="save">
		<table>
			<tr>
				<th>Name</th>
				<td><g:textField name="name" value="${building?.name }" /></td>
			</tr>
			<tr>
				<th>Code</th>
				<td><g:textField name="code" value="${building?.code }" /></td>
			</tr>								
			<tr>
				<th></th>
				<td><g:submitButton name="save" value="Save"/></td>
			</tr>
		</table>
	</form>
</body>
</html> 
